<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      姓名：<input type="text" v-model="yourname" />
      <h2>Hello {{yourname}}!</h2>
    </div>
    <!-- <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> -->
    <script src="./js/vue3.js"></script>
    <script>
      const { createApp } = Vue;
      createApp({
        data() {
          return {
            yourname: "张三",
          };
        },
      }).mount("#app");
    </script>
  </body>
</html>
